cmake_minimum_required(VERSION 2.8)

project(u_turn_solution)

set(CMAKE_BUILD_TYPE Debug)

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

set(Python_ADDITIONAL_VERSIONS 2)
find_package(PythonLibs 2 REQUIRED)

find_package(Eigen3 REQUIRED)

include_directories(
    include
)


add_executable(u_turn_planner_test
    src/hybrid_a_star.cpp
    src/u_turn_planner.cpp
    src/main.cpp
    src/utils.cpp
)

target_include_directories(u_turn_planner_test
PUBLIC
  ${PYTHON_INCLUDE_DIRS})
target_link_libraries(u_turn_planner_test
  ${PYTHON_LIBRARIES}
  )